<?php

namespace App\Http\Controllers\Wechat;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Dispatch;

class DispatchController extends Controller
{
    public function index(Request $request)
    {
    	$rs['status'] = true;
    	$rs['data'] = Dispatch::select(['id','name'])->get();
    	return response()->json($rs);
    }
}
